{include inc.top.html}
<div class="index-main">
    <h1 class="h-title">{$atitle}</h1>
    <table class="table">
        <tr>
            <th class="th" width="25%">名称</th>
            <th class="th" >操作</th>
        </tr>
        {foreach $tags $k $v}
        <tr class="tr tr-{$tags_index % 2 === 0 ? '2' : '1'}">
            <td class="td" >
                <a href="{url:'@s-tag-%s' , $v['name']}" target="_blank">{$v['name']}</a>
            </td>  
            <td class="td">
                <a href="{url:'admin@tag-del-id-%d' , $v['id']}" class="delbtn">删除</a>
            </td>
        </tr>
        {/foreach}
    </table>
    {include page.bar.html}  
    <div class="clear"></div>
</div>
{include inc.bottom.html}